package com.hava.film.timeline.xmeml.v5.entity;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import java.util.List;
import java.util.ArrayList;

@JacksonXmlRootElement(localName = "timecode")
public class Timecode {

    //一个或者多个元素
    @JacksonXmlProperty(localName = "rate")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Rate> rate = new ArrayList<Rate>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "string")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> string = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "frame")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> frame = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "source")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> source = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "displayformat")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> displayformat = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "format")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Format> format = new ArrayList<Format>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "reel")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Reel> reel = new ArrayList<Reel>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "field")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> field = new ArrayList<String>();

}
